// CalculatorDlg.h : header file
//

#if !defined(AFX_CALCULATORDLG_H__1115F009_0790_48C9_96CD_3D9F7BC8B53F__INCLUDED_)
#define AFX_CALCULATORDLG_H__1115F009_0790_48C9_96CD_3D9F7BC8B53F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CCalculatorDlg dialog

class CCalculatorDlg : public CDialog
{
// Construction
public:
	CCalculatorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCalculatorDlg)
	enum { IDD = IDD_CALCULATOR_DIALOG };
	CString	m_edit1;
	double	m_edit2;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCalculatorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCalculatorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadio2();
	afx_msg void OnRadio1();
	afx_msg void OnButtonEqual();
	afx_msg void OnButton1();
	afx_msg void OnButton0();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton7();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	afx_msg void OnButtonPoint();
	afx_msg void OnButtonPlus();
	afx_msg void OnButtonSub();
	afx_msg void OnButtonMul();
	afx_msg void OnButtonDiv();
	afx_msg void OnButtonDaoshu();
	afx_msg void OnButtonSqrt();
	afx_msg void OnBackspace();
	afx_msg void OnC();
	afx_msg void OnButtonQuyu();
	afx_msg void OnButtonOnoff();
	afx_msg void OnBUTTONScience();
	afx_msg void OnButtonLeft();
	afx_msg void OnButtonRight();
	afx_msg void OnBUTTONPorN();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnChangeEdit1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CFont m_font;
	CBrush m_brush;
	BOOL m_OFF_Click;
	int m_Count_type;
	double m_Window_right;
	double m_temp1;
	double m_temp2;
	int m_Count_Style;
	double m_result;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CALCULATORDLG_H__1115F009_0790_48C9_96CD_3D9F7BC8B53F__INCLUDED_)
